package com.chenchen.subject.application.convert;

import com.chenchen.subject.application.dto.SubjectLabelDto;
import com.chenchen.subject.domain.entity.SubjectLabelBo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * ClassName SubjectLabelDtoConverter
 * description:
 *
 * @author 海问香
 * @createTime 2024/7/17 22:03
 */
@Mapper
public interface SubjectLabelDtoConverter {

    SubjectLabelDtoConverter INSTANCE = Mappers.getMapper(SubjectLabelDtoConverter.class);

    SubjectLabelBo convertDtoToLabelBo(SubjectLabelDto subjectLabelDto);

    List<SubjectLabelDto> convertBoToLabelDtoList(List<SubjectLabelBo> boList);

}
